home *** CD-ROM | disk | FTP | other *** search
- QV_SYSTEM
- SEQ formatted GEOS file V1.0
- Epson FX-80
- QV_TABLES
- LASTER'S
- ONVERTER
- COPE SOURCE V1.0
- COPE EDITOR V1.0
- Untitled
- EditSource
- @7@U@g@w@
- ; *****************
- ; * EQUATES FOR GEOS QuickView Program
- ; * BY BILL SHARP
- ; ***************
- curDevice = $BA
- R0 = $02
- R1 = $04
- R2 = $06
- R3 = $08
- R4 = $0A
- R5 = $0C
- R6 = $0E
- R7 = $10
- R8 = $12
- R9 = $14
- R10 = $16
- R11 = $18
- R12 = $1A
- R13 = $1C
- BOLD = 24
- PLAIN = 27
- A0 = $FB
- A1 = $FD
- A2 = $70
- A3 = $72
- A4 = $74
- A5 = $76
- A6 = $78
- A7 = $7A
- A8 = $7C
- A9 = $7E
- END = A3
- CBP = A5
- SOB = A6
- EOB = A7
- MISC = A9
- CRMODE = $2E
- Dest = R8
- Source = R9
- Length = R10
- ;-----
- ; embedded escape characters
- CARDSET = 23
- TAB = 9
- GRAPH = 16
- RULER = 17
- ;-----
- 8^; CONSTANTS
- Tabs = $4004
- curDrive = $8489
- curRecord = $8496
- dirEntryBuf = $8400
- FileHeader = $8100
- CURDHD = $8200
- numDrives = $848D
- sysDBData = $851D
- ;----
- ; NOTE:
- ; The more labels you have the slower the As; CONSTANTS
- Tabs = $4004
- curDrive = $8489
- curRecord = $8496
- dirEntryBuf = $8400
- FileHeader = $8100
- CURDHD = $8200
- numDrives = $848D
- sysDBData = $851D
- ;----
- ; NOTE:
- ; The more labels you have the slower the Assembler
- ; will run. Place a semi-colon in front of the routines
- ; you will not be using.
- ;MISC
- ;BootGEOS = $C000
- ;ResetHandle = $C003
- ;InterruptMain = $C100
- ; PROCESSES
- ;InitProcesses = $C103
- ;RestartProcess = $C106
- ;EnableProcess = $C109
- ;BlockProcess = $C10C
- ;UnblockProcess = $C10F
- ;FreezeProcess = $C112
- ;UnfreezeProcess = $C115
- ; GRAPHICS
- ;HorizontalLine = $C118
- ;InvertLine = $C11B
- ;RecoverLine = $C11E
- ;VerticalLine = $C121
- Rectangle = $C124
- ;FrameRectangle = $C127
- InvertRectangle = $C12A
- ;RecoverRectangle = $C12D
- ;DrawLine = $C130
- ;DrawPoint = $C133
- ;GraphicsString = $C136
- SetPattern =$C139
- GetScanLine = $C13C
- ;TestPoint = $C13F
- ; BACKGROUND GENERATION
- ;BitmapUp = $C142
- ; CHARACTER MANIPULATION
- PutChar = $C145
- PutString = $C148
- ;UseSystemFont = $C14B
- ; MOUSE & MENUS
- ;StartMouseMode = $C14E
- ;RecoverMenu = $C154
- ;RecoverAllMenus = $C157
- DoIcons = $C15A
- ; UTILITIES
- ;DShiftLeft = $C15D
- ;BBMult = $C160
- ;BMult = $C163
- ;DMult = $C166
- ;Ddiv = $C169
- ;DSdiv = $C16C
- ;Dabs = $C16F
- ;Dnegate = $C172
- ;Ddec = $C175
- ;ClearRam = $C178
- ;FillRam = $C17B
- MoveData = $C17E
- ;InitRam = $C181
- ;PutDecimal = $C184
- ;GetRandom = $C187
- ; MISC MOUSE, MENU, GRAPHICS, SLEEP
- ;MouseUp = $C18A
- ;MouseOff = $C18D
- ;DoPreviousMenu = $C190
- ;ReDoMenu = $C193
- ;GetSerialNumber = $C196
- ;Sleep = $C199
- ;ClearMouseMode = $C19C
- i_Rectangle = $C19F
- ;i_FrameRectangle = $C1A2
- ;i_RecoverRectangle = $C1A5
- ;i_GraphicsString = $C1A8
- ; BACKGROUND GENERATION
- ;i_BitmapUp = $C1AB
- ; CHARACTER MANIPULATIION
- i_PutString = $C1AE
- ;GetRealSize = $C1B1
- ; MOUSE & MENUS
- ; UTILITIES
- ;i_FillRam = $C1B4
- i_MoveData = $C1B7
- ; ROUTINES ADDED LATER
- ;GetString = $C1BA
- ;GotoFirstMenu = $C1BD
- ;InitTextPrompt = $C1C0
- ;MainLoop = $C1C3
- ;DrawSprite = $C1C6
- ;GetCharWidth = $C1C9
- ;LoadCharSet = $C1CC
- ;PosSprite = $C1CF
- ;EnablSprite = $C1D2
- ;DisablSprite = $C1D5
- ;CallRoutine = $C1D8
- ;CalcBlksFree = $C1DB
- ;ChkDkGEOS = $C1DE
- NewDisk = $C1E1
- ;GetBlock = $C1E4
- ;PutBlock = $C1E7
- ;SetGEOSDisk = $C1EA
- SaveFile = $C1ED
- ;SetGDirEntry = $C1F0
- ;BldGDirEntry = $C1F3
- ;GetFreeDirBlk = $C1F6
- WriteFile = $C1F9
- ;BlkAlloc = $C1FC
- ReadFile = $C1FF
- SmallPutChar = $C202
- ;FollowChain = $C205
- GetFile = $C208
- FindFile = $C20B
- ;CRC = $C20E
- LdFile = $C211
- ;EnterTurbo = $C214
- ;LdDeskAcc = $C217
- ;ReadBlock = $C21A
- ;LdApplic = $C21D
- ;WriteBlock = $C220
- ;VerWriteBlock = $C223
- ;FreeFile = $C226
- GetFHdrInfo = $C229
- EnterDeskTop = $C22C
- ;StartAppl = $C22F
- ;ExitTurbo = $C232
- ;PurgeTurbo = $C235
- DeleteFile = $C238
- FindFTypes = $C23B
- ;RstrAppl = $C23E
- ;ToBasic = $C241
- ;FastDelFile = C244
- ;GetDirHead = $C247
- ;PutDirhead = $C24A
- ;NxtBlkAlloc = $C24D
- ;ImprintRectangle = $C250
- i_ImprintRectangle = $C253
- ;DoDlgBox = $C256
- ;RenameFile = $C259
- ;InitForIO = $C25C
- ;DoneWithIO = $C25F
- ;DShiftRight = $C262
- ;CopyString = $C265
- ;CopyFString = $C268
- ;CmpString = $C26B
- ;CmpFString = $C26E
- ;FirstInit = $C271
- OpenRecordFile = $C274
- CloseRecordFile = $C277
- NextRecord = $C27A
- PreviousRecord = $C27D
- PointRecord = $C280
- ;DeleteRecord = $C283
- ;InsertRecord = $C286
- AppendRecord = $C289
- ReadRecord = $C28C
- WriteRecord = $C28F
- ;SetNextFree = $C292
- ;UpdateRecordFile = $C295
- GetPtrCurDkNm = $C298
- ;PromptOn = $C29B
- ;PromptOff = $C29E
- OpenDisk = $C2A1
- ;DoInlineReturn = $C2A4
- ;GetNextChar = $C2A7
- ;BitmapClip = $C2AA
- ;FindBAMBit = $C2AD
- SetDevice = $C2B0
- IsMseInRegion = $C2B3
- ;ReadByte = $C2B6
- ;FreeBlock = $C2B9
- ;ChangeDiskDevice = $C2BC
- ;RstrFrmDialog = $C2BF
- ;Panic = $C2C2
- ;BitOtherClip = $C2C5
- ;StashRAM = $C2C8
- ;FetchRAM = $C2CB
- ;SwapRAM = $C2CE
- ;VerifyRAM = $C2D1
- ;DoRAMOp = $C2D4
- e`;MAcros for Assembler
- ;------
- ; MACROS
- .MAC loadw; examp.le load R0:memus
- ldx #<?2
- stx ?1
- ldx #>?2
- stx ?1+1
- ;----
- ; this macro sets up the menu structure
- .MAC menu
- .Word ?1
- .Byte ?2
- .Word ?3
- ;-----
- .MA;MAcros for Assembler
- ;------
- ; MACROS
- .MAC loadw; examp.le load R0:memus
- ldx #<?2
- stx ?1
- ldx #>?2
- stx ?1+1
- ;----
- ; this macro sets up the menu structure
- .MAC menu
- .Word ?1
- .Byte ?2
- .Word ?3
- ;-----
- .MAC movew
- ldx ?1
- stx ?2
- ldx ?1+1
- stx ?2+1
- ;----
- .MAC addw
- lda ?1
- adc ?2
- sta ?2
- lda ?1+1
- adc ?2+1
- sta ?2+1
- ;----
- .MAC addy
- adc ?1
- sta ?1
- lda ?1+1
- adc #0
- sta ?1+1
- ;----
- .MAC bra
- jmp ?1
- ;-----
- .MAC subw
- LDA ?1
- SBC ?2
- STA ?3
- lda ?1+1
- sbc ?2+1
- sta ?3+1
- ;-----
- .MAC branch
- bvc ?1
- ;=====
- `;This is page 4
- ; it is not blank anymore.
- `This is page 5.
- `This is page 10
- U;This is page 4
- ; it is not blank anymore.
- `This is page 5.
- `This is page 10
- This is page 5.
- `This is page 10
- `This is page 10
- This is page 10
-